JToggleButton

Client properties:

Property

Type Notes

Quaqua.Button
.style

java.lang.String Values: "toggle", "toggleEast", "toggleCenter", "toggleWest", "toolBarTab"
JButton
.buttonType
java.lang.String For compatibility with Apple's Aqua Look and Feel
Quaqua.Component
.visualMargin
java.awt.Insets

See layout

Size styles:

Client property: Quaqua.Component.visualMargin

This client property can be used to change the visual margin of the JButton. For details see layout.

Client property: Quaqua.Button.style

The picture below shows the effect of the styles. The styles are available for the regular System Font of Mac OS X (Lucida Grande 13) and the Small System Font (Lucida Grande 11). The styles work also with other font sizes, but then, the results aren't necessarily optimal.

Quaqua Look and Feel - JToggleButton styles
You can specify a style using the client property Quaqua.Button.style
 

myButton.putClientProperty(

   "Quaqua.Button.style", "toggleCenter"

);